how to detect and remove auto correlation